﻿<%@ Page Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="SearchNeedsAnalysis.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.NeedsAnalysis.SearchNeedsAnalysis" %>

<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>
<%@ Register src="../UserControls/UCGridButtons.ascx" tagname="UCGridButtons" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<script language="javascript" type="text/javascript">

        window.onload = function() {

            var msg = document.getElementById('ctl00_MasterMsg');
            if (msg && msg.innerHTML != '')
                showMessageBlock();
        }
</script>

   
    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
  
  
  
    </asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   
    
        <table>
           
            <tr>
                <td>
                    ID No:</td>
                <td >
                    <asp:TextBox ID="txtIdNo" runat="server" CssClass="txtbox"></asp:TextBox>
                </td>
                <td>
                    </td>
                <td>
                    Branch:</td>
                <td>
                    <asp:DropDownList ID="ddlBranch" runat="server" CssClass="ddl" 
                        AutoPostBack="True" onselectedindexchanged="ddlBranch_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    ID Type:</td>
                <td>
                    <asp:DropDownList ID="ddlIdType" runat="server" CssClass="ddl" 
                        onselectedindexchanged="DropDownList4_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
                <td>
                    </td>
                <td>
                    Unit:</td>
                <td>
                    <asp:DropDownList ID="ddlUnit" runat="server" CssClass="ddl" 
                        AutoPostBack="True" onselectedindexchanged="ddlUnit_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Name:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server" CssClass="txtbox"></asp:TextBox>
                </td>
                <td>
                    </td>
                <td>
                    SO Code:</td>
                <td>
                    <asp:DropDownList ID="ddlSoCode" runat="server" CssClass="ddl" 
                        onselectedindexchanged="ddlSoCode_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Prospect ID(with SO Code):</td>
                <td>
                    <asp:TextBox ID="txtProspectId" runat="server" CssClass="txtbox"></asp:TextBox>
                </td>
                <td>
                    </td>
                <td>
                    </td>
                <td>
                    </td>
            </tr>
            <tr>
                <td>
                    Needs Analysis No:</td>
                <td>
                    <asp:TextBox ID="txtNeedsAnalysisNo" runat="server" CssClass="txtbox"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtNeedsAnalysisNo" ValidationExpression="^\d*$">*</asp:RegularExpressionValidator>
                </td>
                <td>
                   </td>
                <td>
                   </td>
                <td>
                    </td>
            </tr>
            <tr>
                <td colspan="5" class="pix8">
                    </td>
            </tr>
            <tr>
                <td colspan="5">
                    <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btn" 
                        onclick="btnSearch_Click"/>
                </td>
            </tr>
            <tr>
                <td colspan="5" class="pix8">
                   </td>
            </tr>
            <tr>
                <td colspan="5">
                    <uc1:UCGrid ID="UCGrid1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    <uc2:UCGridButtons ID="UCGridButtons1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    </td>
            </tr>
            <tr>
                <td colspan="5">
                    </td>
            </tr>
        </table>
    
   </asp:Content>